package com.itheima.Dao.impl;

import com.itheima.Dao.BookDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository("bookDao")
public class BookDaoimpl implements BookDao {
    //@Override
    @Value("${name}")
    private String name;
    public void save() {
        System.out.println("我是BookDaoimpl"+name);
    }
}
